package com.kyzh.core.utils

import android.app.Activity
import android.util.DisplayMetrics


fun Activity.isNotLongScreenDevice():Boolean{

    val dm: DisplayMetrics = resources.displayMetrics
    val width = dm.widthPixels
    val height = dm.heightPixels
    return (width.toFloat()/height.toFloat())>= 9f/16f

}